package it.hive.model.common.constants;

import it.hive.mediaplayer.beans.impl.Traccia;

import java.net.MalformedURLException;
import java.net.URL;

public class M2O_Default {
	public static final String URL_M2O_SPECIAL = "http://www.m2o.it/special/";
	public static final String M2O_RELOADED_URL = "http://www.m2o.it/special/m2o_reloaded/";
	public static final String STREAMING_URL = "http://mp3.kataweb.it:8000/M2O.m3u";
	// public static final String STREAMING_URL = "http://download.oracle.com/otndocs/javafx/JavaRap_ProRes_H264_768kbit_Widescreen.mp4";
	public static URL _STREAMING_URL;
	public static URL _STREAMING_URL_RDF;
	public static Traccia TRACCIA_STREAMING;
	public static Traccia TRACCIA_STREAMING_RDF;
	static {
		try {
			_STREAMING_URL = new URL(STREAMING_URL);
			TRACCIA_STREAMING = new Traccia(_STREAMING_URL, null, "M2O Diretta Streaming");
			_STREAMING_URL_RDF = new URL("http://streaming.radiodancefloor.it:443");
			TRACCIA_STREAMING_RDF = new Traccia(_STREAMING_URL_RDF, null, "Radio Dance Floor");
		} catch (MalformedURLException e1) {
			System.out.println(e1.getCause());
		}
	}
}
